import React, { Component } from 'react'

export default class News extends Component {
    state={
        newsList:[
            'QQQ',
            'WWW',
            'EEE',
            'RRR'
        ]
    }
  render() {
    return (
      <ul>
        {this.state.newsList.map((item,index)=><li key={index}>{item}</li>)}
      </ul>
    )
  }
}
